/****   http.js   ****/
// 导入封装好的axios实例
import request from './request'

function httpRequest(url: string, params: any) {
  const rq = {
    url,
    ...params,
  }
  return request(rq)
}
//导出
export default httpRequest
